import React from "react"
class Combination extends React.Component {
    render() {
        console.log(this.props)
        return (
            <fieldset>
                <legend>组件</legend>
                <p>这是一个组合模型</p>
                <div className="box">
                {this.props.header}
                {this.props.main}
                {this.props.footer}
                </div>

            </fieldset>
        )
    }
}
export default Combination